package com.et114.modules.suspect.dao;

import java.util.List;

import com.et114.components.simpletable.DataList;
import com.et114.components.simpletable.dao.SimpleTableDAOImpl;
import com.et114.modules.suspect.vo.SusPectVO;

/**
 * @author zhiweip
 * @version 1.0
 * @created 02-十二月-2010 22:00:29
 */
public class Mng_SuspectDaoImp  extends SimpleTableDAOImpl implements IMng_SuspectDao {

	public Mng_SuspectDaoImp(){

	}

	public void finalize() throws Throwable {

	}

	public DataList queryDataList(SusPectVO vo) throws Exception{
		return this.queryListDataList ( vo , "query_suspectDataList" );
	}

	/**
	 * 查询投诉跟踪记录
	 */
	public List queryDetailList(SusPectVO vo){
		return this.queryList ( vo , "query_Pub_suspect_detail" );
	}

	public Object insertSuspect(SusPectVO vo){
		return this.insert ( vo , "insert_pub_suspect" );
	}
	public Object insertSuspectDetail(SusPectVO vo){
		return this.insert ( vo , "insert_pub_suspect_detail" );
	}
	

	public int updateSuspect(SusPectVO vo){
		return this.update ( vo , "update_pub_suspectBYid" );
	}
	
	public Object loadSuspect(SusPectVO vo){
		return this.load ( vo, "loads_pub_suspect_byKey" );
	}

}